GBML manual / Constants

SHAPE_22_FLOOR_UP_LEFT_2

A 22.5 degree slope: floor rising to the left, piece 2 of 2.

Syntax

SHAPE_22_FLOOR_UP_LEFT_2: constant

Description

A 22.5 degree slope: floor rising to the left. It is the number 8. It is piece 2 of 2 of the slope: the pieces go one after the other, and each starts as high as the one before it ended. Piece 1 has the least solid. The Slopes page shows how the shapes join.

##......
####....
######..
########
########
########
########
########

In the picture, the characters # are solid pixels and the dots are open ones.

Example

tile_set_shape(x, y + 8, SHAPE_22_FLOOR_UP_LEFT_2);

Gives the square just under the walker this slope.

See also: tile_shapetile_set_shapeSlopesSHAPE_22_FLOOR_UP_LEFT_1